mergAccessoryDisonnected
Type
message
Summary
Sent to the control that registered for notifications when an accessory with a supported protocol disconnects to the device
Syntax
mergAccessoryDisonnected <pName>
Description
Sent to the control that registered for notifications when an accessory with a supported protocol disconnects to the device
Parameters
Name | Type | Description |
---|---|---|
pName | A device name. |
Examples
on openCard
if the environment = "mobile" then
mergAccessoryRegisterForNotifications
end if
end openCard
on mergAccessoryConnected pName
if pName = "p25i" then
show button "printDocket"
end if
end mergAccessoryConnected
on mergAccessoryDisconnected pName
if pName = "p25i" then
hide button "printDocket"
end if
end mergAccessoryDisconnected
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile